<?php


    // Author: Tomasz Durka
    // Date: 21st February 2007
    // Prints out a link for PHP nails
    
    
  function javascript_include_tag($type = 'defaults') {
    
    switch ($type) {
      case 'defaults';
        return "<script src=\"/javascript/builder.js\"></script>"
              ."<script src=\"/javascript/prototype.js\"></script>"
              ."<script src=\"/javascript/effects.js\"></script>"
              ."<script src=\"/javascript/dragdrop.js\"></script>"
              ."<script src=\"/javascript/tooltip.js\"></script>";
        break;
      default:
        return "<script src=\"/javascript/{$type}.js\"></script>";
        break;
    }
  }

?>